package mysqlModel

import (
	"gorm.io/gorm"
)

type Community struct {
	gorm.Model
	Name string		`gorm:"column:name"`
	OwnerId uint	`gorm:"column:owner_id"`
	Img string		`gorm:"column:img"`
	Desc string		`gorm:"column:desc"`
}

func (t *Community) TableName() string{
	return "community"
}
